import Home from '../views/Home'
import About from '../views/About'
import Detail from '../views/Home/Detail'
import List from '../views/Home/List'
const routes = [
    {
        from: '/',
        to: '/home'
    },
    {
        path: '/about',
        component: About
    },
    {
        path: '/home',
        component: Home,
        children: [
            {
                path: '/home/list',
                component: List,
                children: [
                    {
                        path: '/home/list/detail',
                        component: Detail
                    }
                ]
            }
        ]
    }
]
export default routes